package de.fhtrier.mp.wollmaus.entity;

import org.newdawn.slick.Animation;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.geom.Vector2f;

import de.fhtrier.mp.wollmaus.util.AssetManager;

public class Entity {

	private Vector2f position;
	private Animation ani;
	
	public Entity(Vector2f position, int ani) {
		super();
		this.position = position;
		this.ani = AssetManager.getInstance().getAnimation(ani);
	}
	
	public void update(GameContainer gc, int delta) {
		
	}
	
	public void render(Graphics g, GameContainer gc) {
		ani.draw(position.x, position.y);
	}

}
